package com.yzt.message.db.model;

import androidx.annotation.NonNull;
import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.PrimaryKey;

/**
 * @des:
 * @author: shaon
 * @date: 2021-12-27 15:31
 */
@Entity(tableName = "RCT_CONVERSATION")
public class ConversationEntity {

    @PrimaryKey
    @NonNull
    private String target_id;

    @ColumnInfo(name = "unread_count")
    private String unread_count;

    @NonNull
    public String getTarget_id() {
        return target_id;
    }

    public void setTarget_id(@NonNull String target_id) {
        this.target_id = target_id;
    }

    public String getUnread_count() {
        return unread_count;
    }

    public void setUnread_count(String unread_count) {
        this.unread_count = unread_count;
    }
}
